package com.pmcc.cj.repository;

import com.pmcc.cj.entity.CjCountyVillage;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by tomas on 2020/10/10.
 */
public interface CjCountyVillageRepository extends JpaRepository<CjCountyVillage,String> {
    CjCountyVillage findByFettleAndAddressAndCounty(Integer fettle,String address,String county);//用于区分同名的存
    CjCountyVillage findByFettleAndAddress(Integer fettle,String address);//县没有同名
}
